import request from "@/utils/request";
import type {LoginType, ReqLoginType, ReqUserInfo} from "*.vue";



export const reqLogin = (userInfo:LoginType)=>{
    return request.post<null,ReqLoginType>(`/admin/acl/index/login`,userInfo)
}

export const reqUserInfo = ()=>{
    return request.get<null,ReqUserInfo>(`/admin/acl/index/info`)
}

export const reqLogout = ()=>{
    return request.post<null,null>(`/admin/acl/index/logout`)
}

